
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta charset="utf-8" />
    <title>dbm.FluidParticle &#8212; Texas A&amp;M Oil spill / Outfall Calculator 2.1.0 documentation</title>
    <link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
    <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
    <script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
    <script src="../../_static/jquery.js"></script>
    <script src="../../_static/underscore.js"></script>
    <script src="../../_static/doctools.js"></script>
    <script src="../../_static/language_data.js"></script>
    <link rel="index" title="Index" href="../../genindex.html" />
    <link rel="search" title="Search" href="../../search.html" />
    <link rel="next" title="dbm.FluidParticle.biodegradation_rate" href="dbm.FluidParticle.biodegradation_rate.html" />
    <link rel="prev" title="dbm.FluidMixture.viscosity" href="dbm.FluidMixture.viscosity.html" />
   
  <link rel="stylesheet" href="../../_static/custom.css" type="text/css" />
  
  
  <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />

  </head><body>
  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          

          <div class="body" role="main">
            
  <div class="section" id="dbm-fluidparticle">
<h1>dbm.FluidParticle<a class="headerlink" href="#dbm-fluidparticle" title="Permalink to this headline">¶</a></h1>
<dl class="class">
<dt id="dbm.FluidParticle">
<em class="property">class </em><code class="sig-prename descclassname">dbm.</code><code class="sig-name descname">FluidParticle</code><span class="sig-paren">(</span><em class="sig-param">composition</em>, <em class="sig-param">fp_type=0</em>, <em class="sig-param">delta=None</em>, <em class="sig-param">user_data={}</em>, <em class="sig-param">delta_groups=None</em>, <em class="sig-param">isair=False</em>, <em class="sig-param">sigma_correction=1.0</em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/dbm.html#FluidParticle"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#dbm.FluidParticle" title="Permalink to this definition">¶</a></dt>
<dd><p>Class object for a soluble fluid particle</p>
<p>This object defines the behavior of a soluble fluid particle.  The object
inherits the internal variables and methods from the <cite>FluidMixture</cite> 
object, but limits the output to a single phase, defined by the internal 
variable <cite>fp_type</cite>.  It further extends the <cite>FluidMixture</cite> class to 
include the properties inherent to particles (e.g., shape, diameter, slip 
velocity, etc.).</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><dl class="simple">
<dt><strong>composition</strong><span class="classifier">string list, length nc</span></dt><dd><p>Contains the names of the chemical components in the mixture
using the same key names as in ./data/ChemData.csv</p>
</dd>
<dt><strong>fp_type</strong><span class="classifier">integer</span></dt><dd><p>Defines the fluid type (0 = gas, 1 = liquid) that is expected to be 
contained in the bubble.  This is needed because the Peng-Robinson
equation of state returns values for both phases of a mixture.  This
variable allows the class to automatically return the values for the
desired phase.</p>
</dd>
<dt><strong>delta</strong><span class="classifier">ndarray, size (nc, nc)</span></dt><dd><p>Binary interaction coefficients for the Peng-Robinson equation of 
state.  If not passed at instantiation, Python will assume a 
full matrix of zeros.</p>
</dd>
<dt><strong>user_data</strong><span class="classifier">dict</span></dt><dd><p>A dictionary of chemical property data.  If not specified, the data
loaded from <cite>/tamoc/data/ChemData.csv</cite> by <code class="docutils literal notranslate"><span class="pre">chemical_properties</span></code> will
be used.  To load a different properties database, use the 
<code class="docutils literal notranslate"><span class="pre">chemical_properties.load_data</span></code> function to load in a custom 
database, and pass that data to this object as <cite>user_data</cite>.</p>
</dd>
<dt><strong>delta_groups</strong><span class="classifier">ndarray (nc, 15)</span></dt><dd><p>Provides the group contribution numbers (normalized) for each 
component in the mixture for the 15 groups used by the Privat and
Jaubert (2012) group contribution method for binary interaction 
coefficients.  Default is None, in which case the values in <cite>delta</cite>
will be used.</p>
</dd>
<dt><strong>isair</strong><span class="classifier">bool</span></dt><dd><p>Flag indicating whether or not fluid is air.  The methods for 
viscosity and interfacial tension below use correlations developed
for hydocarbons.  If <cite>isair</cite> is False (default value), these built
in methods are used.  If <cite>isair</cite> is True, then these methods are 
replaced with correlations between air and seawater.</p>
</dd>
<dt><strong>sigma_correction</strong><span class="classifier">float</span></dt><dd><p>Correction factor to adjust the interfacial tension value supplied by
the default model to a value measured for the mixture of interest.
The correction factor should be computed as sigma_measured / 
sigma_model at a single P and T value.  For the FluidParticle class, 
sigma_correction is a scalar applied to the phase defined by 
fp_type.</p>
</dd>
</dl>
</dd>
</dl>
<div class="admonition seealso">
<p class="admonition-title">See also</p>
<dl class="simple">
<dt><a class="reference internal" href="dbm.FluidMixture.html#dbm.FluidMixture" title="dbm.FluidMixture"><code class="xref py py-obj docutils literal notranslate"><span class="pre">FluidMixture</span></code></a>, <a class="reference internal" href="../../modules/chem.html#module-chemical_properties" title="chemical_properties"><code class="xref py py-obj docutils literal notranslate"><span class="pre">chemical_properties</span></code></a>, <a class="reference internal" href="dbm.InsolubleParticle.html#dbm.InsolubleParticle" title="dbm.InsolubleParticle"><code class="xref py py-obj docutils literal notranslate"><span class="pre">InsolubleParticle</span></code></a></dt><dd></dd>
</dl>
</div>
<p class="rubric">Notes</p>
<p>The attributes are identical to those defined for a <cite>FluidMixture</cite></p>
<p class="rubric">Examples</p>
<div class="doctest highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="n">bub</span> <span class="o">=</span> <span class="n">FluidParticle</span><span class="p">([</span><span class="s1">&#39;nitrogen&#39;</span><span class="p">,</span> <span class="s1">&#39;oxygen&#39;</span><span class="p">],</span> <span class="n">fp_type</span><span class="o">=</span><span class="mi">0</span><span class="p">)</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">yk</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">array</span><span class="p">([</span><span class="mf">0.79</span><span class="p">,</span> <span class="mf">0.21</span><span class="p">])</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">T</span> <span class="o">=</span> <span class="mf">273.15</span> <span class="o">+</span> <span class="mf">30.</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">P</span> <span class="o">=</span> <span class="mf">10.e5</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">Sa</span> <span class="o">=</span> <span class="mf">35.</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">Ta</span> <span class="o">=</span> <span class="mf">273.15</span> <span class="o">+</span> <span class="mf">20.</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">m</span> <span class="o">=</span> <span class="n">bub</span><span class="o">.</span><span class="n">masses_by_diameter</span><span class="p">(</span><span class="mf">0.01</span><span class="p">,</span> <span class="n">T</span><span class="p">,</span> <span class="n">P</span><span class="p">,</span> <span class="n">yk</span><span class="p">)</span>
<span class="go">array([  4.61873994e-06,   1.40243772e-06])</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">bub</span><span class="o">.</span><span class="n">density</span><span class="p">(</span><span class="n">m</span><span class="p">,</span> <span class="n">T</span><span class="p">,</span> <span class="n">P</span><span class="p">)</span>
<span class="go">11.499602249012074</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">bub</span><span class="o">.</span><span class="n">slip_velocity</span><span class="p">(</span><span class="n">m</span><span class="p">,</span> <span class="n">T</span><span class="p">,</span> <span class="n">P</span><span class="p">,</span> <span class="n">Sa</span><span class="p">,</span> <span class="n">Ta</span><span class="p">)</span>
<span class="go">0.22197023589052</span>
</pre></div>
</div>
<p class="rubric">Methods</p>
<table class="longtable docutils align-default">
<colgroup>
<col style="width: 10%" />
<col style="width: 90%" />
</colgroup>
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="dbm.FluidParticle.biodegradation_rate.html#dbm.FluidParticle.biodegradation_rate" title="dbm.FluidParticle.biodegradation_rate"><code class="xref py py-obj docutils literal notranslate"><span class="pre">biodegradation_rate</span></code></a>(self, t[, lag_time])</p></td>
<td><p>Determine the biodegradation rate constant</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="dbm.FluidParticle.density.html#dbm.FluidParticle.density" title="dbm.FluidParticle.density"><code class="xref py py-obj docutils literal notranslate"><span class="pre">density</span></code></a>(self, m, T, P)</p></td>
<td><p>Compute the particle density (kg/m^3) of the fluid in the phase given  by <cite>fp_type</cite>.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="dbm.FluidParticle.diameter.html#dbm.FluidParticle.diameter" title="dbm.FluidParticle.diameter"><code class="xref py py-obj docutils literal notranslate"><span class="pre">diameter</span></code></a>(self, m, T, P)</p></td>
<td><p>Compute the equivalent spherical diameter (m) of a single fluid  particle.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="dbm.FluidParticle.diffusivity.html#dbm.FluidParticle.diffusivity" title="dbm.FluidParticle.diffusivity"><code class="xref py py-obj docutils literal notranslate"><span class="pre">diffusivity</span></code></a>(self, Ta, Sa, P)</p></td>
<td><p>Compute the diffusivity (m^2/s) of each component of a mixture into  seawater at the given temperature.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="dbm.FluidParticle.equilibrium.html#dbm.FluidParticle.equilibrium" title="dbm.FluidParticle.equilibrium"><code class="xref py py-obj docutils literal notranslate"><span class="pre">equilibrium</span></code></a>(self, m, T, P[, K])</p></td>
<td><p>Computes the equilibrium composition of a gas/liquid mixture.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="dbm.FluidParticle.fugacity.html#dbm.FluidParticle.fugacity" title="dbm.FluidParticle.fugacity"><code class="xref py py-obj docutils literal notranslate"><span class="pre">fugacity</span></code></a>(self, m, T, P)</p></td>
<td><p>Compute the particle fugacities (Pa) of the fluid in the phase given  by <cite>fp_type</cite>.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="dbm.FluidParticle.heat_transfer.html#dbm.FluidParticle.heat_transfer" title="dbm.FluidParticle.heat_transfer"><code class="xref py py-obj docutils literal notranslate"><span class="pre">heat_transfer</span></code></a>(self, m, T, P, Sa, Ta[, status])</p></td>
<td><p>Compute the heat transfer coefficient (m/s) for a fluid particle</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="dbm.FluidParticle.hydrate_stability.html#dbm.FluidParticle.hydrate_stability" title="dbm.FluidParticle.hydrate_stability"><code class="xref py py-obj docutils literal notranslate"><span class="pre">hydrate_stability</span></code></a>(self, m, P)</p></td>
<td><p>Compute the hydrate formation temperature at the given pressure</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="dbm.FluidParticle.interface_tension.html#dbm.FluidParticle.interface_tension" title="dbm.FluidParticle.interface_tension"><code class="xref py py-obj docutils literal notranslate"><span class="pre">interface_tension</span></code></a>(self, m, T, S, P)</p></td>
<td><p>Computes the interfacial tension between the particle and water</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="dbm.FluidParticle.mass_frac.html#dbm.FluidParticle.mass_frac" title="dbm.FluidParticle.mass_frac"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mass_frac</span></code></a>(self, n)</p></td>
<td><p>Calculate the mass fraction (–) from the number of moles of each  component in a mixture.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="dbm.FluidParticle.mass_transfer.html#dbm.FluidParticle.mass_transfer" title="dbm.FluidParticle.mass_transfer"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mass_transfer</span></code></a>(self, m, T, P, Sa, Ta[, status])</p></td>
<td><p>Compute the mass transfer coefficients (m/s) for each component in a  fluid particle</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="dbm.FluidParticle.masses.html#dbm.FluidParticle.masses" title="dbm.FluidParticle.masses"><code class="xref py py-obj docutils literal notranslate"><span class="pre">masses</span></code></a>(self, n)</p></td>
<td><p>Convert the moles of each component in a mixture to their masses (kg).</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="dbm.FluidParticle.masses_by_diameter.html#dbm.FluidParticle.masses_by_diameter" title="dbm.FluidParticle.masses_by_diameter"><code class="xref py py-obj docutils literal notranslate"><span class="pre">masses_by_diameter</span></code></a>(self, de, T, P, yk)</p></td>
<td><p>Find the masses (kg) of each component in a particle with equivalent  spherical diameter <cite>de</cite> and mole fractions <cite>yk</cite>.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="dbm.FluidParticle.mol_frac.html#dbm.FluidParticle.mol_frac" title="dbm.FluidParticle.mol_frac"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mol_frac</span></code></a>(self, m)</p></td>
<td><p>Calcualte the mole fraction (–) from the masses of each component in  a mixture.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="dbm.FluidParticle.moles.html#dbm.FluidParticle.moles" title="dbm.FluidParticle.moles"><code class="xref py py-obj docutils literal notranslate"><span class="pre">moles</span></code></a>(self, m)</p></td>
<td><p>Convert the masses of each component in a mixture to their moles  (mol).</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="dbm.FluidParticle.partial_pressures.html#dbm.FluidParticle.partial_pressures" title="dbm.FluidParticle.partial_pressures"><code class="xref py py-obj docutils literal notranslate"><span class="pre">partial_pressures</span></code></a>(self, m, P)</p></td>
<td><p>Compute the partial pressure (Pa) of each component in a mixture.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="dbm.FluidParticle.particle_shape.html#dbm.FluidParticle.particle_shape" title="dbm.FluidParticle.particle_shape"><code class="xref py py-obj docutils literal notranslate"><span class="pre">particle_shape</span></code></a>(self, m, T, P, Sa, Ta)</p></td>
<td><p>Determine the shape of a fluid particle from the properties of the  particle and surrounding fluid.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="dbm.FluidParticle.return_all.html#dbm.FluidParticle.return_all" title="dbm.FluidParticle.return_all"><code class="xref py py-obj docutils literal notranslate"><span class="pre">return_all</span></code></a>(self, m, T, P, Sa, Ta[, status])</p></td>
<td><p>Compute all of the dynamic properties of the bubble in an efficient manner (e.g., minimizing replicate calls to functions).</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="dbm.FluidParticle.slip_velocity.html#dbm.FluidParticle.slip_velocity" title="dbm.FluidParticle.slip_velocity"><code class="xref py py-obj docutils literal notranslate"><span class="pre">slip_velocity</span></code></a>(self, m, T, P, Sa, Ta[, status])</p></td>
<td><p>Compute the slip velocity (m/s) of a fluid particle.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="dbm.FluidParticle.solubility.html#dbm.FluidParticle.solubility" title="dbm.FluidParticle.solubility"><code class="xref py py-obj docutils literal notranslate"><span class="pre">solubility</span></code></a>(self, m, T, P, Sa)</p></td>
<td><p>Compute the solubility (kg/m^3) of each component of a particle into  seawater for the phase given by <cite>fp_type</cite>.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="dbm.FluidParticle.surface_area.html#dbm.FluidParticle.surface_area" title="dbm.FluidParticle.surface_area"><code class="xref py py-obj docutils literal notranslate"><span class="pre">surface_area</span></code></a>(self, m, T, P, Sa, Ta)</p></td>
<td><p>Compute the surface area (m^2) of a fluid particle.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="dbm.FluidParticle.viscosity.html#dbm.FluidParticle.viscosity" title="dbm.FluidParticle.viscosity"><code class="xref py py-obj docutils literal notranslate"><span class="pre">viscosity</span></code></a>(self, m, T, P)</p></td>
<td><p>Computes the dynamic viscosity of the fluid in the phase given by  <cite>fp_type</cite></p></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="dbm.FluidParticle.__init__">
<code class="sig-name descname">__init__</code><span class="sig-paren">(</span><em class="sig-param">self</em>, <em class="sig-param">composition</em>, <em class="sig-param">fp_type=0</em>, <em class="sig-param">delta=None</em>, <em class="sig-param">user_data={}</em>, <em class="sig-param">delta_groups=None</em>, <em class="sig-param">isair=False</em>, <em class="sig-param">sigma_correction=1.0</em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/dbm.html#FluidParticle.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#dbm.FluidParticle.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Initialize self.  See help(type(self)) for accurate signature.</p>
</dd></dl>

<p class="rubric">Methods</p>
<table class="longtable docutils align-default">
<colgroup>
<col style="width: 10%" />
<col style="width: 90%" />
</colgroup>
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="#dbm.FluidParticle.__init__" title="dbm.FluidParticle.__init__"><code class="xref py py-obj docutils literal notranslate"><span class="pre">__init__</span></code></a>(self, composition[, fp_type, …])</p></td>
<td><p>Initialize self.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="dbm.FluidParticle.biodegradation_rate.html#dbm.FluidParticle.biodegradation_rate" title="dbm.FluidParticle.biodegradation_rate"><code class="xref py py-obj docutils literal notranslate"><span class="pre">biodegradation_rate</span></code></a>(self, t[, lag_time])</p></td>
<td><p>Determine the biodegradation rate constant</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="dbm.FluidParticle.density.html#dbm.FluidParticle.density" title="dbm.FluidParticle.density"><code class="xref py py-obj docutils literal notranslate"><span class="pre">density</span></code></a>(self, m, T, P)</p></td>
<td><p>Compute the particle density (kg/m^3) of the fluid in the phase given  by <cite>fp_type</cite>.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="dbm.FluidParticle.diameter.html#dbm.FluidParticle.diameter" title="dbm.FluidParticle.diameter"><code class="xref py py-obj docutils literal notranslate"><span class="pre">diameter</span></code></a>(self, m, T, P)</p></td>
<td><p>Compute the equivalent spherical diameter (m) of a single fluid  particle.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="dbm.FluidParticle.diffusivity.html#dbm.FluidParticle.diffusivity" title="dbm.FluidParticle.diffusivity"><code class="xref py py-obj docutils literal notranslate"><span class="pre">diffusivity</span></code></a>(self, Ta, Sa, P)</p></td>
<td><p>Compute the diffusivity (m^2/s) of each component of a mixture into  seawater at the given temperature.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="dbm.FluidParticle.equilibrium.html#dbm.FluidParticle.equilibrium" title="dbm.FluidParticle.equilibrium"><code class="xref py py-obj docutils literal notranslate"><span class="pre">equilibrium</span></code></a>(self, m, T, P[, K])</p></td>
<td><p>Computes the equilibrium composition of a gas/liquid mixture.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="dbm.FluidParticle.fugacity.html#dbm.FluidParticle.fugacity" title="dbm.FluidParticle.fugacity"><code class="xref py py-obj docutils literal notranslate"><span class="pre">fugacity</span></code></a>(self, m, T, P)</p></td>
<td><p>Compute the particle fugacities (Pa) of the fluid in the phase given  by <cite>fp_type</cite>.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="dbm.FluidParticle.heat_transfer.html#dbm.FluidParticle.heat_transfer" title="dbm.FluidParticle.heat_transfer"><code class="xref py py-obj docutils literal notranslate"><span class="pre">heat_transfer</span></code></a>(self, m, T, P, Sa, Ta[, status])</p></td>
<td><p>Compute the heat transfer coefficient (m/s) for a fluid particle</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="dbm.FluidParticle.hydrate_stability.html#dbm.FluidParticle.hydrate_stability" title="dbm.FluidParticle.hydrate_stability"><code class="xref py py-obj docutils literal notranslate"><span class="pre">hydrate_stability</span></code></a>(self, m, P)</p></td>
<td><p>Compute the hydrate formation temperature at the given pressure</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="dbm.FluidParticle.interface_tension.html#dbm.FluidParticle.interface_tension" title="dbm.FluidParticle.interface_tension"><code class="xref py py-obj docutils literal notranslate"><span class="pre">interface_tension</span></code></a>(self, m, T, S, P)</p></td>
<td><p>Computes the interfacial tension between the particle and water</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="dbm.FluidParticle.mass_frac.html#dbm.FluidParticle.mass_frac" title="dbm.FluidParticle.mass_frac"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mass_frac</span></code></a>(self, n)</p></td>
<td><p>Calculate the mass fraction (–) from the number of moles of each  component in a mixture.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="dbm.FluidParticle.mass_transfer.html#dbm.FluidParticle.mass_transfer" title="dbm.FluidParticle.mass_transfer"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mass_transfer</span></code></a>(self, m, T, P, Sa, Ta[, status])</p></td>
<td><p>Compute the mass transfer coefficients (m/s) for each component in a  fluid particle</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="dbm.FluidParticle.masses.html#dbm.FluidParticle.masses" title="dbm.FluidParticle.masses"><code class="xref py py-obj docutils literal notranslate"><span class="pre">masses</span></code></a>(self, n)</p></td>
<td><p>Convert the moles of each component in a mixture to their masses (kg).</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="dbm.FluidParticle.masses_by_diameter.html#dbm.FluidParticle.masses_by_diameter" title="dbm.FluidParticle.masses_by_diameter"><code class="xref py py-obj docutils literal notranslate"><span class="pre">masses_by_diameter</span></code></a>(self, de, T, P, yk)</p></td>
<td><p>Find the masses (kg) of each component in a particle with equivalent  spherical diameter <cite>de</cite> and mole fractions <cite>yk</cite>.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="dbm.FluidParticle.mol_frac.html#dbm.FluidParticle.mol_frac" title="dbm.FluidParticle.mol_frac"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mol_frac</span></code></a>(self, m)</p></td>
<td><p>Calcualte the mole fraction (–) from the masses of each component in  a mixture.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="dbm.FluidParticle.moles.html#dbm.FluidParticle.moles" title="dbm.FluidParticle.moles"><code class="xref py py-obj docutils literal notranslate"><span class="pre">moles</span></code></a>(self, m)</p></td>
<td><p>Convert the masses of each component in a mixture to their moles  (mol).</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="dbm.FluidParticle.partial_pressures.html#dbm.FluidParticle.partial_pressures" title="dbm.FluidParticle.partial_pressures"><code class="xref py py-obj docutils literal notranslate"><span class="pre">partial_pressures</span></code></a>(self, m, P)</p></td>
<td><p>Compute the partial pressure (Pa) of each component in a mixture.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="dbm.FluidParticle.particle_shape.html#dbm.FluidParticle.particle_shape" title="dbm.FluidParticle.particle_shape"><code class="xref py py-obj docutils literal notranslate"><span class="pre">particle_shape</span></code></a>(self, m, T, P, Sa, Ta)</p></td>
<td><p>Determine the shape of a fluid particle from the properties of the  particle and surrounding fluid.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="dbm.FluidParticle.return_all.html#dbm.FluidParticle.return_all" title="dbm.FluidParticle.return_all"><code class="xref py py-obj docutils literal notranslate"><span class="pre">return_all</span></code></a>(self, m, T, P, Sa, Ta[, status])</p></td>
<td><p>Compute all of the dynamic properties of the bubble in an efficient manner (e.g., minimizing replicate calls to functions).</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="dbm.FluidParticle.slip_velocity.html#dbm.FluidParticle.slip_velocity" title="dbm.FluidParticle.slip_velocity"><code class="xref py py-obj docutils literal notranslate"><span class="pre">slip_velocity</span></code></a>(self, m, T, P, Sa, Ta[, status])</p></td>
<td><p>Compute the slip velocity (m/s) of a fluid particle.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="dbm.FluidParticle.solubility.html#dbm.FluidParticle.solubility" title="dbm.FluidParticle.solubility"><code class="xref py py-obj docutils literal notranslate"><span class="pre">solubility</span></code></a>(self, m, T, P, Sa)</p></td>
<td><p>Compute the solubility (kg/m^3) of each component of a particle into  seawater for the phase given by <cite>fp_type</cite>.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="dbm.FluidParticle.surface_area.html#dbm.FluidParticle.surface_area" title="dbm.FluidParticle.surface_area"><code class="xref py py-obj docutils literal notranslate"><span class="pre">surface_area</span></code></a>(self, m, T, P, Sa, Ta)</p></td>
<td><p>Compute the surface area (m^2) of a fluid particle.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="dbm.FluidParticle.viscosity.html#dbm.FluidParticle.viscosity" title="dbm.FluidParticle.viscosity"><code class="xref py py-obj docutils literal notranslate"><span class="pre">viscosity</span></code></a>(self, m, T, P)</p></td>
<td><p>Computes the dynamic viscosity of the fluid in the phase given by  <cite>fp_type</cite></p></td>
</tr>
</tbody>
</table>
</dd></dl>

</div>


          </div>
          
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
<h1 class="logo"><a href="../../index.html">Texas A&M Oil spill / Outfall Calculator</a></h1>








<h3>Navigation</h3>
<ul class="current">
<li class="toctree-l1 current"><a class="reference internal" href="../../user_manual.html">TAMOC User Manual</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../unit_tests.html">Unit Tests</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../glossary.html">Glossary</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../bugs.html">Reporting Bugs</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../readme.html">Read Me File</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../release.html">Release Notes</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../license.html">License</a></li>
</ul>

<div class="relations">
<h3>Related Topics</h3>
<ul>
  <li><a href="../../index.html">Documentation overview</a><ul>
  <li><a href="../../user_manual.html">TAMOC User Manual</a><ul>
  <li><a href="../../modules/dbm.html">Overview of the Discrete Bubble Model</a><ul>
      <li>Previous: <a href="dbm.FluidMixture.viscosity.html" title="previous chapter">dbm.FluidMixture.viscosity</a></li>
      <li>Next: <a href="dbm.FluidParticle.biodegradation_rate.html" title="next chapter">dbm.FluidParticle.biodegradation_rate</a></li>
  </ul></li>
  </ul></li>
  </ul></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
  <h3 id="searchlabel">Quick search</h3>
    <div class="searchformwrapper">
    <form class="search" action="../../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" />
      <input type="submit" value="Go" />
    </form>
    </div>
</div>
<script>$('#searchbox').show(0);</script>








        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="footer">
      &copy;2020, Scott A. Socolofsky.
      
      |
      Powered by <a href="http://sphinx-doc.org/">Sphinx 2.4.4</a>
      &amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
      
      |
      <a href="../../_sources/autodoc/dbm/dbm.FluidParticle.rst.txt"
          rel="nofollow">Page source</a>
    </div>

    

    
  </body>
</html>